package com.freewater.springboot.demo.aop.api.pointcut;

public class CalculatorImpl implements Calculator {
    @Override
    public int add(int a, int b) {
        return a + b;
    }

    @AdviceRequired
    @Override
    public int sub(int a, int b) {
        return a - b;
    }

    @Override
    public double divide(int a, int b) {
        return (double) a / b;
    }
}
